﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameProxy
{
    public interface IProxyable
    {
        void Send(object sender, SendEventArgs e);
        void Receive(object sender, ReceiveEventArgs e);
    }

    /// <summary>
    /// Argument when client sends a packet to the server.
    /// </summary>
    public class SendEventArgs : EventArgs
    {
        public byte[] Data { get; set; }
        public int Size { get; set; }
    }
    /// <summary>
    ///  Argument when server sends a packet to the client.
    /// </summary>
    public class ReceiveEventArgs : EventArgs
    {
        public byte[] Data { get; set; }
        public int Size { get; set; }
    }
}
